<template>
  <el-container>
    <el-header>项目一组</el-header>
    <el-container>
      <el-aside width="200px">
        <!-- 导航 -->
        <Leftnav></Leftnav>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>
 
<script>
import Leftnav from "../components/LeftNav";
export default {
  name: "Index",
  components: {
    Leftnav
  }
};
</script>
 
<style scoped lang = "less">
.el-header {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  /* height: 800px; */
}

body > .el-container {
  margin-bottom: 40px;
}
</style>